<!--[*  $Id: postcalendar_admin_modifyconfig.htm 763 2010-08-10 20:01:28Z craigh $  *]-->
<!--[include file="admin/postcalendar_admin_menu.htm"]-->

<div class="z-admincontainer">
<div class="z-adminpageicon"><!--[pnimg modname='PostCalendar' src='admin.png']--></div>
<h2><!--[gt text="PostCalendar settings"]-->&nbsp;(<!--[gt text="version"]-->&nbsp;<!--[$postcalendarversion]-->)</h2>
<form class="z-form" action="<!--[pnmodurl modname="PostCalendar" type="admin" func="updateconfig"]-->" method="post" enctype="application/x-www-form-urlencoded">
    <div>
	<input type="hidden" name="authid" value="<!--[pnsecgenauthkey module="PostCalendar"]-->" />
    <fieldset>
        <legend><!--[gt text='General settings']--></legend>
        <div class="z-formrow">
            <b><a href='<!--[pnmodurl modname="PostCalendar" type="admin" func="resetDefaults"]-->'><!--[gt text='Reset ALL Settings to Defaults (clears event defaults also)']--></a></b>
        </div>
        <div class="z-formrow">
			<label for="pcAllowDirectSubmit"><!--[gt text='Allow submitted events to be activated without review']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcAllowDirectSubmit" assign="pcADS"]-->
			<input type="checkbox" value="1" id="pcAllowDirectSubmit" name="pcAllowDirectSubmit"<!--[if $pcADS eq true]--> checked="checked"<!--[/if]-->/>
        </div>
		<div class="z-formrow">
			<label for="enablecategorization"><!--[gt text='Enable categorization of events']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="enablecategorization" assign="pcEC"]-->
			<input type="checkbox" value="1" id="enablecategorization" name="enablecategorization"<!--[if $pcEC eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcAllowUserCalendar"><!--[gt text='Group allowed to publish personal calendars']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcAllowUserCalendar" assign="pcAUC"]-->
            <!--[gt text="No group" assign="nogroup"]-->
			<span><!--[selector_group selectedValue=$pcAUC defaultValue=0 allValue=0 allText=$nogroup name="pcAllowUserCalendar" id="pcAllowUserCalendar"]-->
                &nbsp;&nbsp;<a href="<!--[pnmodurl modname="Groups" type="admin" func="view"]-->"><!--[pnimg src=xedit.gif modname=core set=icons/extrasmall __title="Edit groups" __alt="Edit groups"]--></a></span>
		</div>
    </fieldset>
	<fieldset>
        <legend><!--[gt text='Display settings']--></legend>
		<div class="z-formrow">
			<label for="pcListHowManyEvents"><!--[gt text='Number of events to list on administration pages']--></label>
			<span><input type="text" size="3" value="<!--[pnmodgetvar module="PostCalendar" name="pcListHowManyEvents"]-->" id="pcListHowManyEvents" name="pcListHowManyEvents" /></span>
		</div>
		<div class="z-formrow">
			<label for="pcTime24Hours"><!--[gt text='Use 24-hour time format']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcTime24Hours" assign="pcT24H"]-->
			<input type="checkbox" value="1" id="pcTime24Hours" name="pcTime24Hours"<!--[if $pcT24H eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcTimeIncrement"><!--[gt text='Time increment for new event creation (1-60 minutes)']--></label>
			<span><input type="text" size="3" value="<!--[pnmodgetvar module="PostCalendar" name="pcTimeIncrement"]-->" id="pcTimeIncrement" name="pcTimeIncrement" /></span>
		</div>
		<div class="z-formrow">
			<label for="pcEventsOpenInNewWindow"><!--[gt text='View event details in a pop-up window']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcEventsOpenInNewWindow" assign="pcEOINW"]-->
			<input type="checkbox" value="1" id="pcEventsOpenInNewWindow" name="pcEventsOpenInNewWindow"<!--[if $pcEOINW eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcUsePopups"><!--[gt text="Show event details in 'hover' window on 'mouseover'"]--><br />(<!--[gt text="overrides pop-up setting"]-->)</label>
			<!--[pnmodgetvar module="PostCalendar" name="pcUsePopups" assign="pcUP"]-->
			<input type="checkbox" value="1" id="pcUsePopups" name="pcUsePopups"<!--[if $pcUP eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcEventDateFormat"><!--[gt text='Date Display Format']--><br />(<i><!--[gt text='uses %s format' tag1='<a href="http://php.net/strftime" target="_blank">php strftime</a>']--></i>)</label>
                <span><input type="text" size="15" value="<!--[pnmodgetvar module="PostCalendar" name="pcEventDateFormat"]-->" id="pcEventDateFormat" name="pcEventDateFormat" />
                &nbsp;<!--[gt text="Or choose a preset:"]-->&nbsp;
                <input type="button" name="format_usa" value="<!--[gt text='Month Day, Year']-->" onclick="this.form.pcEventDateFormat.value='%B %e, %Y'" />
                <input type="button" name="format_eu" value="<!--[gt text='Day Month Year']-->" onclick="this.form.pcEventDateFormat.value='%e %B %Y'" />
                <input type="button" name="format_iso8601" value="<!--[gt text='YYYY-MM-DD']-->" onclick="this.form.pcEventDateFormat.value='%F'" /></span>
		</div>
		<div class="z-formrow">
			<label for="pcFirstDayOfWeek"><!--[gt text='First day of the week']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcFirstDayOfWeek" assign="firstDay"]-->
			<span><select size="1" id="pcFirstDayOfWeek" name="pcFirstDayOfWeek">
				<option value="0"<!--[if $firstDay eq 0]--> selected="selected"<!--[/if]-->><!--[gt text='Sunday']--></option>
				<option value="1"<!--[if $firstDay eq 1]--> selected="selected"<!--[/if]-->><!--[gt text='Monday']--></option>
				<option value="6"<!--[if $firstDay eq 6]--> selected="selected"<!--[/if]-->><!--[gt text='Saturday']--></option>
				</select></span>
			
		</div>
		<div class="z-formrow">
			<label for="pcDefaultView"><!--[gt text='Default calendar view']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcDefaultView" assign="defView"]-->
			<span><select size="1" id="pcDefaultView" name="pcDefaultView">
				<option value="day"<!--[if $defView eq "day"]--> selected="selected"<!--[/if]-->><!--[gt text='Day']--></option>
				<option value="week"<!--[if $defView eq "week"]--> selected="selected"<!--[/if]-->><!--[gt text='Week']--></option>
				<option value="month"<!--[if $defView eq "month"]--> selected="selected"<!--[/if]-->><!--[gt text='Month']--></option>
				<option value="year"<!--[if $defView eq "year"]--> selected="selected"<!--[/if]-->><!--[gt text='Year']--></option>
				<option value="list"<!--[if $defView eq "list"]--> selected="selected"<!--[/if]-->><!--[gt text='List']--></option>
				</select></span>
		</div>
		<div class="z-formrow">
			<label for="pcListMonths"><!--[gt text='Number of months to display in list/rss view']--></label>
			<span><input type="text" size="3" maxlength="3" value="<!--[pnmodgetvar module="PostCalendar" name="pcListMonths"]-->" id="pcListMonths" name="pcListMonths" /></span>
		</div>
		<div class="z-formrow">
			<label for="pcAllowCatFilter"><!--[gt text='Allow users to filter event display by category']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcAllowCatFilter" assign="pcACF"]-->
			<input type="checkbox" value="1" id="pcAllowCatFilter" name="pcAllowCatFilter"<!--[if $pcACF eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcFilterYearStart"><!--[gt text='In jump date selector, display']--></label>
			<span><input type="text" size="3" value="<!--[pnmodgetvar module="PostCalendar" name="pcFilterYearStart"]-->" id="pcFilterYearStart" name="pcFilterYearStart" />
                 &nbsp;<!--[gt text='year(s) before current year.']--></span>
		</div>
		<div class="z-formrow">
			<label for="pcFilterYearEnd"><!--[gt text='In jump date selector, display']--></label>
			<span><input type="text" size="3" value="<!--[pnmodgetvar module="PostCalendar" name="pcFilterYearEnd"]-->" id="pcFilterYearEnd" name="pcFilterYearEnd" />
                 &nbsp;<!--[gt text='year(s) after current year.']--></span>
		</div>
        <div class="z-formrow">
			<label for="enablenavimages"><!--[gt text='Enable images in navigation header']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="enablenavimages" assign="pcENI"]-->
			<input type="checkbox" value="1" id="enablenavimages" name="enablenavimages"<!--[if $pcENI eq true]--> checked="checked"<!--[/if]-->/>
		</div>
        <!--[pnmodavailable modname="Locations" assign="locationsAvailable"]-->
        <!--[if $locationsAvailable]-->
        <div class="z-formrow">
			<label for="enablelocations"><!--[gt text='Enable Locations for PostCalendar']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="enablelocations" assign="pcEnLoc"]-->
			<input type="checkbox" value="1" id="enablelocations" name="enablelocations"<!--[if $pcEnLoc eq true]--> checked="checked"<!--[/if]-->/>
		</div>
        <!--[/if]-->
    </fieldset>
	<fieldset>
        <legend><!--[gt text='Notification settings']--></legend>
		<div class="z-formrow">
			<label for="pcNotifyPending"><!--[gt text='Notify administrator about pending content in template']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcNotifyPending" assign="pcNotifyPending"]-->
            <input type="checkbox" value="1" id="pcNotifyPending" name="pcNotifyPending"<!--[if $pcNotifyPending eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcNotifyAdmin"><!--[gt text='Notify administrator about user event submission/change']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcNotifyAdmin" assign="pcNA"]-->
			<input type="checkbox" value="1" id="pcNotifyAdmin" name="pcNotifyAdmin"<!--[if $pcNA eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcNotifyAdmin2Admin"><!--[gt text='Notify administrator about administrator event submission/change']--></label>
			<!--[pnmodgetvar module="PostCalendar" name="pcNotifyAdmin2Admin" assign="pcNA2A"]-->
			<input type="checkbox" value="1" id="pcNotifyAdmin2Admin" name="pcNotifyAdmin2Admin"<!--[if $pcNA2A eq true]--> checked="checked"<!--[/if]-->/>
		</div>
		<div class="z-formrow">
			<label for="pcNotifyEmail"><!--[gt text='E-mail address to send notifications']--></label>
			<span><input type="text" size="30" value="<!--[pnmodgetvar module="PostCalendar" name="pcNotifyEmail"]-->" id="pcNotifyEmail" name="pcNotifyEmail" /></span>
		</div>
    </fieldset>
    <div class="z-buttons z-formbuttons">
        <!--[pnbutton src="button_ok.gif" set="icons/extrasmall" __alt="Save" __title="Save" __text="Save"]-->
        <a href="<!--[pnmodurl modname="PostCalendar" type="admin"]-->" title="<!--[gt text="Cancel"]-->"><!--[pnimg modname=core src="button_cancel.gif" set="icons/extrasmall" __alt="Cancel" __title="Cancel"]--> <!--[gt text="Cancel"]--></a>
    </div>
    </div>
</form>
</div><!-- /z-admincontainer -->
